package com.aipp.mall.h5.mapper;

import com.aipp.mall.h5.domain.entity.MemberCoupon;
import com.aipp.mall.h5.domain.vo.CouponActivityVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * 用户领券记录Mapper接口
 *
 * @author zcc
 */
public interface MemberCouponMapper extends BaseMapper<MemberCoupon> {

    List<CouponActivityVO> countGetCoupon(@Param("couponIds") Set<Long> ids, @Param("memberId") Long memberId);
}
